<template>
	<view>
		<view class="" v-if="type === 'app'">
			<match-media :min-width="0" :max-width="800">
				<slot></slot>
			</match-media>
		</view>
		<view class="" v-if="type === 'pc'">
			<match-media :min-width="800">
				<slot></slot>
			</match-media>
		</view>
	</view>
</template>

<script>
	
	export default {
		props: {
			type: String,
			default: 'pc'
		},
		data() {
			return {

			};
		},
		onLoad() {
			console.log(this.type);
		}
	}
</script>

<style>

</style>
